package com.guigu.www.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sys_codes")
public class Codes {
    @TableId(value ="id",type= IdType.AUTO)
    private Integer id;

    @TableField("PARENT_ID")
    private Integer parentId;

    @TableField("CODE_ID")
    private String codeId;      //代码编号

    private String name;        //代码名称

    private String  status;     //状态

    @TableField("DEF_VALUE")
    private String defValue;    //默认值

    private String  descn;      //说明
}
